package com.zhen.gulimall.product.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@ConfigurationProperties(prefix = "gulimall.thread")
@Data
@Component
public class ThreadPoolConfigProperties {
    // 核心线程池大小
    private Integer coreSize;
    // 最大线程池大小
    private Integer maxSize;
    // 空闲存活时间
    private Integer keepAliveTime;
    // 阻塞队列大小
    private Integer blockingQueueSize;

}
